<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/jquery-3.3.1.min.js"></script>
</head>
<body>
<input type="button" id="btn">
</body>
</html>
<script type="text/javascript">
    $(function () {
        $("#btn").click(function () {
            $.ajax({
                url:"",
                type:"get",
                dataType:"",
                data:"json",
                async:"",
                success:function (data) {
                    alert()
                },
                error:function () {

                }
            })
        })
    })
    
</script>